home *** CD-ROM | disk | FTP | other *** search
- Path: engnews1.Eng.Sun.COM!taumet!clamage
- From: Rich Paul <linguist@cyberspy.com>
- Newsgroups: comp.std.c++
- Subject: char_traits<T> return values
- Date: 12 Apr 1996 14:57:19 GMT
- Organization: Technical Resource Connection
- Approved: clamage@eng.sun.com (comp.std.c++)
- Message-ID: <316DB8A8.2556@cyberspy.com>
- NNTP-Posting-Host: taumet.eng.sun.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset="us-ascii"
- Content-Transfer-Encoding: 7bit
- X-Nntp-Posting-Host: bajor-le1.trcinc.com
- X-Mailer: Mozilla 2.01Gold (WinNT; I)
- X-Lines: 16
- Content-Length: 703
- Originator: clamage@taumet
-
- I have noticed, while working on the standard string class, that the
- char_traits functions copy, move, etc, would be much more useful if they
- returned a pointer to the END of the area in which they worked, rather
- than to the beginning.
-
- I know c liked to return the pointers you gave it when it was done with
- them, but isn't there something more useful that could be done?
-
- Also, when these functions get a string that contains eos(), do they
- stop, or do they carry on to the bitter end?
-
- --
- #include <legalbs/standarddisclaimer>
- Rich Paul | If you like what I say, tell my
- C++, OOD, OOA, OOP, | employer, but if you don't,
- OOPs, I forgot one ... | don't blame them. ;->
-
-
- [ comp.std.c++ is moderated. To submit articles: try just posting with ]
- [ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
- [ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
- [ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
- [ Comments? mailto:std-c++-request@ncar.ucar.edu ]
-